package com.fxu.jushuitan.dto.purchase;

import com.fxu.jushuitan.dto.PageReq;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * 采购入库单查询
 * @author fangxu
 * @since 2023-09-18
 **/
@Getter
@Setter
public class PurchaseInQueryReq extends PageReq {

    /**
     * 采购单号列表，与修改时间不能同时为空.采购单号最大不能超过30条
     */
    private List<String> poIds;

    /**
     * 采购单状态;不填写默认查询已出库状态
     * 状态(WaitConfirm 待入库;Confirmed 已入库;Cancelled 取消)
     */
    private List<String> status;

    public PurchaseInQueryReq(Integer pageIndex, List<String> poIds, List<String> status) {
        super(pageIndex);
        this.poIds = poIds;
        this.status = status;
    }
}

